<?php
	include("../is_login.php");
	$id = $_GET['id'];
	$cata_id = $_GET['cata_id'];
	include('../function.php');
	$conn = conn();
	$sql = "delete from article where id = $id";//删除MySQL中数据
	mysqli_query($conn,$sql);
	header("Location:list.php?cata_id=$cata_id");
?>